home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / komunikace / miranda / wip-miranda-im1.7.exe / {app} / plugins / PopUp / Calipso / mono.popupskin < prev    next >
Encoding:
Text File  |  2006-09-20  |  3.5 KB  |  295 lines

  1. #Calipso skin v0.0.2 for popup.2.0.3.96.preview8 or late
  2. #author mkp, Tomsk, 2005
  3. #feel free to use this as a starting point for your future skins ;)
  4.  
  5. h 4+title.height+6+(avatar.height>text.height)+4
  6. w (4+avatar.width+4+text.width+4)>(6+16+2+title.width+1+2+clock.width+2)
  7.  
  8. # background
  9. object
  10.     ifset 1
  11.     type bitmap
  12.     source back.bmp
  13.     mono
  14.     x 2
  15.     y 23
  16.     w -1
  17.     h -1
  18. end
  19. object
  20.     ifnotset 1
  21.     type bitmap
  22.     source back.bmp
  23.     x 2
  24.     y 23
  25.     w -1
  26.     h -1
  27. end
  28.  
  29. # top and bottom lines
  30. object
  31.     ifset 1
  32.     type bitmap
  33.     source t.bmp
  34.     mono
  35.     x 2
  36.     y 0
  37.     w -1
  38. end
  39.  
  40. object
  41.     ifset 1
  42.     type bitmap
  43.     source b.bmp
  44.     mono
  45.     x 2
  46.     y -2
  47.     w -1
  48. end
  49.  
  50. object
  51.     ifnotset 1
  52.     type bitmap
  53.     source t.bmp
  54.     x 2
  55.     y 0
  56.     w -1
  57. end
  58.  
  59. object
  60.     ifnotset 1
  61.     type bitmap
  62.     source b.bmp
  63.     x 2
  64.     y -2
  65.     w -1
  66. end
  67.  
  68. # Line under title
  69. object
  70.     ifset 2
  71.     ifset 1
  72.     type bitmap
  73.     source line.bmp
  74.     mono
  75.     x 6
  76.     y title.height + 6
  77.     w -6
  78. end
  79. object
  80.     ifset 2
  81.     ifnotset 1
  82.     type bitmap
  83.     source line.bmp
  84.     x 6
  85.     y title.height + 6
  86.     w -6
  87. end
  88.  
  89. # left and right lines
  90. object
  91.     ifset 1
  92.     type bitmap
  93.     source l.bmp
  94.     mono
  95.     x 0
  96.     y 2
  97.     h -1
  98. end
  99. object
  100.     ifset 1
  101.     type bitmap
  102.     source r.bmp
  103.     mono
  104.     x -2
  105.     y 21
  106.     h -1
  107. end
  108. object
  109.     ifnotset 1
  110.     type bitmap
  111.     source l.bmp
  112.     x 0
  113.     y 2
  114.     h -1
  115. end
  116. object
  117.     ifnotset 1
  118.     type bitmap
  119.     source r.bmp
  120.     x -2
  121.     y 21
  122.     h -1
  123. end
  124.  
  125. # corners
  126. object
  127.     ifset 1
  128.     type bitmap
  129.     source lt.bmp
  130.     mono
  131.     x 0
  132.     y 0
  133. end
  134. object
  135.     ifset 1
  136.     type bitmap
  137.     source lb.bmp
  138.     mono
  139.     x 0
  140.     y -2
  141. end
  142.  
  143. object
  144.     ifset 1
  145.     type bitmap
  146.     source rb.bmp
  147.     mono
  148.     x -2
  149.     y -2
  150. end
  151. object
  152.     ifnotset 1
  153.     type bitmap
  154.     source lt.bmp
  155.     x 0
  156.     y 0
  157. end
  158. object
  159.     ifnotset 1
  160.     type bitmap
  161.     source lb.bmp
  162.     x 0
  163.     y -2
  164. end
  165. object
  166.     ifnotset 1
  167.     type bitmap
  168.     source rt.bmp
  169.     x -54
  170.     y 0
  171. end
  172. object
  173.     ifnotset 1
  174.     type bitmap
  175.     source rb.bmp
  176.     x -2
  177.     y -2
  178. end
  179.  
  180. #the clock
  181. object
  182.     ifnotset 6
  183.     ifnotset 7
  184.     type clock
  185.     x window.width-clock.width-2
  186.     y 5
  187.     source clock1.png
  188.     clocksize 0 4 9 9 9 9 9 9 9 9 9 9 0 0 0
  189. end
  190. object
  191.     ifset 6
  192.     ifnotset 7
  193.     type clock
  194.     x window.width-clock.width-4
  195.     y 5
  196.     source clock2.png
  197.     clocksize 0 4 8 8 8 8 8 8 8 8 8 8 0 0 0
  198. end
  199. object
  200.     ifnotset 6
  201.     ifset 7
  202.     type clock
  203.     x window.width-clock.width-6
  204.     y 5
  205.     source clock3.png
  206.     clocksize 0 4 8 8 8 8 8 8 8 8 8 8 0 0 0
  207. end
  208. object
  209.     ifset 6
  210.     ifset 7
  211.     type clock
  212.     x window.width-clock.width-2
  213.     y 4
  214.     source clock4.png
  215.     clocksize 0 4 9 9 9 9 9 9 9 9 9 9 0 0 0
  216. end
  217.  
  218. # popup icon
  219. object
  220.     ifset 3
  221.     type icon
  222.     x 5
  223.     y 4
  224. end
  225.  
  226. # popup title
  227. object
  228.     ifnotset 3
  229.     type title
  230.     color  0 0 0
  231.     x 7
  232.     y 6
  233.         w window.width-6-icon.width-3-clock.width
  234. end
  235. object
  236.     ifnotset 3
  237.     type title
  238.     color  255 255 255
  239.     x 6
  240.     y 5
  241.         w window.width-6-icon.width-3-clock.width
  242. end
  243. object
  244.     ifset 3
  245.     type title
  246.     color  0 0 0
  247.     x 6+icon.width+3
  248.     y 6
  249.         w window.width-6-icon.width-3-clock.width
  250. end
  251. object
  252.     ifset 3
  253.     type title
  254.     color  255 255 255
  255.     x 6+icon.width+2
  256.     y 5
  257.         w window.width-6-icon.width-3-clock.width
  258. end
  259.  
  260. # popup text
  261. object
  262.     ifnotset 5
  263.     type text
  264.     x 4+avatar.width+4
  265.     y 4+title.height+6
  266.         w window.width-4-avatar.width-4-4
  267. end
  268. object
  269.     ifset 5
  270.     type text
  271.     x 6
  272.     y 4+title.height+6
  273.         w window.width-4-avatar.width-4-4
  274. end
  275.  
  276. # avatar
  277. object
  278.     ifset 4
  279.     ifnotset 5
  280.     type avatar
  281.     x 4
  282.     y 4+title.height+6
  283.     w 32
  284.     proportional 1
  285. end
  286. object
  287.     ifset 4
  288.     ifset 5
  289.     type avatar
  290.     x window.width-32-5
  291.     y 4+title.height+6
  292.     w 32
  293.     proportional 1
  294. end
  295.